package com.laicunba.service.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.laicunba.pojo.vo.FinancingTargetBidVO;
import com.laicunba.pojo.vo.FinancingTargetVO;
import com.laicunba.pojo.vo.PositionConditionVO;
import com.laicunba.service.RepaymentService;

@Service
public class RepaymentServiceImpl extends BaseServiceImpl implements RepaymentService {
	
	@Override
	public List<FinancingTargetVO> findAppRepaymentList(PositionConditionVO condition) {
		return queryDao.selectList("BID_ANALYSIS.findAppRepaymentList", condition);
	}

	@SuppressWarnings({ "rawtypes", "unchecked" })
	@Override
	public List<FinancingTargetBidVO> findRepaymentBidVO(String beginTimeStr, String endTimeStr) {
		Map param = new HashMap();
		param.put("beginTimeStr", beginTimeStr);
		param.put("endTimeStr", endTimeStr);
		return queryDao.selectList("BID_ANALYSIS.findRepaymentBidVO", param);
	}

}
